package org.wk.core.common.http;

import java.util.Map;

public interface LBSRequest {
	public final static String ResponseMessage = "responseMessage";
	public String postContent(String url);
	public String postBody(String url,String content);
	public String postContent(String url, Map<String, Object> params);
	public Map<String, String> post(String url);
	public Map<String, String> post(String url, Map<String, Object> params);
	public String get(String url);
	
	public String postRest(String url, Map<String, Object> params);
	public String getRest(String url);
	public String putRest(String url, Map<String, Object> params);
	public String deleteRest(String url, Map<String, Object> params);
	
	
	public LBSRequest setMaxTotal(int maxTotal);
	public LBSRequest setMaxPerRoute(int maxPerRoute);
	public LBSRequest setMaxRoute(int maxRoute);
	public LBSRequest setTimeOut(int timeOut);
	public LBSRequest setHeaders(Map<String, String> headers);
}
